package com.liran.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * @author: whh
 * @Date: 2024/4/22
 * @Description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ColumnWidth(12)
public class TargetExcelData {
    @ExcelProperty({"数据简报 —— 国内线索数据", "日期"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String insideDate;

    @ExcelProperty({"数据简报 —— 国内线索数据", "平台"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String insidePlatform;

    @ExcelProperty({"数据简报 —— 国内线索数据", "来源"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String insideSource;

    @ExcelProperty({"数据简报 —— 国内线索数据", "来源条数"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private Integer insideSourceNum;

    @ExcelProperty({"数据简报 —— 国内线索数据", "区域"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String insideArea;

    @ExcelProperty({"数据简报 —— 国内线索数据", "区域条数"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private Integer insideAreaNum;

    @ExcelIgnore
    private Integer index;

    @ExcelProperty(" ")
    private String kongGe;

    @ExcelProperty({"数据简报 —— 国外线索数据", "日期"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String outsideDate;

    @ExcelProperty({"数据简报 —— 国外线索数据", "平台"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String outsidePlatform;

    @ExcelProperty({"数据简报 —— 国外线索数据", "来源"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String outsideSource;

    @ExcelProperty({"数据简报 —— 国外线索数据", "来源条数"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private Integer outsideSourceNum;

    @ExcelProperty({"数据简报 —— 国外线索数据", "国家"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String outsideCountry;

    @ExcelProperty({"数据简报 —— 国外线索数据", "国家条数"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private Integer outsideCountryNum;

    @ExcelProperty({"数据简报 —— 国外线索数据", "区域"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private String outsideArea;

    @ExcelProperty({"数据简报 —— 国外线索数据", "区域条数"})
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
    private Integer outsideAreaNum;
}
